<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/infoboard/view_instant_Infoboard.htm" method="post">

<div class="input-group col-lg-2">
      <input type="text" name="sec" class="form-control" placeholder="Search for...">
      <span class="input-group-btn">
        <button class="btn btn-default" type="submit">查询</button>
      </span>
    </div>
共<span class="label label-warning">${total}</span>条记录
</form>
	<table class="table table-striped table-bordered">
		<thead>
			<tr>
				<th>MAC</th>
				<th>加入时间</th>
			</tr>
		</thead>
		<c:forEach items="${infoboardes}" var="infoboard">
			<tr>
				<td>${infoboard.si }</td>
				<td><fmt:formatDate value="${infoboard.intime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>